<?php

require_once($root_path.'include/care_api_classes/class_core.php');

class Queries_showImageH extends Core{
	
	/**
	* SQL query
	*/
	var $sql;
		
	/**
	 * Consulta de nombre y contenido de la tabla care_historia_adjuntos
	 * @params $id,$name
	 * jl
	 */
	function select_care_historia_adjuntos($id, $name){
		$sql = "SELECT name,content FROM care_historia_adjuntos WHERE id_soap=".$id." AND name='".$name."'";
		return $sql;
	}
}
?>
